from tortoise import BaseDBAsyncClient


async def upgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `menu` MODIFY COLUMN `path` VARCHAR(32)   COMMENT '菜单路径';"""


async def downgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `menu` MODIFY COLUMN `path` VARCHAR(32) NOT NULL  COMMENT '菜单路径';"""
